package com.example.config.exception;

/**
 * @author <a href="juntao.zhang@bkjk.com">juntao.zhang</a>
 * @Description:
 * @Package com.example.config.exception
 * @date 2017/12/13 19:25
 * @see
 */
public class RemoteConfigInitExcetpion extends RuntimeException{

    private String msg;

    private static Integer code = 10001;


    public RemoteConfigInitExcetpion(String message) {
        super(String.format("message:%s[code:%s]",message, RemoteConfigInitExcetpion.code));
    }

    public RemoteConfigInitExcetpion(String message, Throwable cause) {
        super(String.format("message:%s[code:%s]",message, RemoteConfigInitExcetpion.code), cause);
    }

    public RemoteConfigInitExcetpion(Throwable cause) {
        super(cause);
    }

    public RemoteConfigInitExcetpion(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(String.format("message:%s[code:%s]",message, RemoteConfigInitExcetpion.code), cause, enableSuppression, writableStackTrace);
    }


}
